<!DOCTYPE HTML>
<html lang="utf-8">
<head>
<meta charset="utf-8">
<title>驾车宝典-${viewMember.nickName!}的话题</title>
<link href="${ctx}/styles/group.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/user.css" rel="stylesheet" type="text/css">
<#include '/baseHead.ftl'>
<!--主要部分开始-->
<!--主要部分开始-->
<section id="main"><div class="bgA_01">
	
	<!--左边开始-->
	<div id="leftArea">
		
			<#include 'userNavPanel_01.ftl'>
		<div class="recommendPanel_03">
			<div class="listField">
				<ul>
					<#list groupPage.result as group>
					<li>
						<div class="img"><a href="<@groupDetailLink groupId="${group.groupId?c}" />" title="我爱德黑兰"><img src="${group.image!}" width="80" height="80" alt="${group.groupName!}"></a></div>
						<div class="text"><a href="<@groupDetailLink groupId="${group.groupId?c}" />" title="${group.groupName!}">${group.groupName!}</a></div>
						<div class="count">(${group.memberCount?c}人)</div>
					</li>
					</#list>
				</ul>
			</div>
			<div class="pageNumField">
				<p>
				<#if !groupPage.firstPage>
					<a href="${ctx}/member/${viewMember.memberId?c}/group-${filter}-1">首页</a>
					</#if>
					<#if groupPage.hasPreviousPage>
					<a href="${ctx}/member/${viewMember.memberId?c}/group-${filter}-${pageNumber-1}">上一页</a>
					</#if>
					<#list groupPage.getLinkPageNumbers() as item>
						<#if item_index==5> 
							<#break>
						</#if>
						<#if item == groupPage.thisPageNumber>
						<!--/{cityNo}-{cateId}-{filter}-{groupId}-{pageNumber}-{orderBy} -->
							<a href="javascript:;" class="on">${item}</a>
						<#else>
								<a href="${ctx}/member/${viewMember.memberId?c}/group-${filter}-${item}">${item}</a>
						</#if>
					</#list>
					<#if groupPage.hasNextPage>
					<a href="${ctx}/member/${viewMember.memberId?c}/group-${filter}-${pageNumber+1}">下一页</a>
					</#if>
					<#if !groupPage.lastPage>
					<a  href="${ctx}/member/${viewMember.memberId?c}/group-${filter}-${groupPage.lastPageNumber?c}">末页</a>
					</#if>
				</p>
			</div>
		</div>
			
	</div>
	<!--左边结束-->
	
	<!--右边开始-->
	<div id="rightArea">
		<#include 'userPanel_01.ftl' >
		
		<div class="userNavPanel_02">
			<div class="titleField titleType_01">
				<h1 class="title_03">全部小组</h1>
			</div>
			<nav class="menuField">
				<ul>
					<li><a <#if filter==2>class="on"</#if>  href="${ctx}/member/${viewMember.memberId?c}/group-1-1">他管理的</a></li>
					<li><a <#if filter==1>class="on"</#if>  href="${ctx}/member/${viewMember.memberId?c}/group-2-1">他常去的</a></li>
				</ul>
			</nav>
		</div>
		
	</div>
	<!--右边结束-->
				
<#include '/commonFriendLink.ftl'>

</div></section>
<!--主要部分结束-->
<#include '/baseFoot.ftl'>